package cn.wolfcode.wolf2w.business.api.domain;

import lombok.Data;

import javax.persistence.Column;
import java.util.Date;
@Data
public class NoteCanal {
    /** 主键 */
    private Long id;
    @Column(name = "dest_id")
    /** 目的地id */
    private Long destId;
    @Column(name = "dest_name")
    /** 目的地 */
    private String destName;
    @Column(name = "author_id")
    /** 作者id */
    private Long authorId;

    /** 标题 */
    private String title;

    /** 概要 */
    private String summary;
    @Column(name = "cover_url")
    /** 封面 */
    private String coverUrl;
    @Column(name = "travel_time")
    /** 旅游时间 */
    private Date travelTime;
    @Column(name = "avg_consume")
    /** 人均消费 */
    private Long avgConsume;

    /** 旅游天数 */
    private Long days;

    /** 和谁旅游 */
    private String person;
    @Column(name = "release_time")
    /** 发布时间 */
    private Date releaseTime;
    @Column(name = "is_public")
    /** 是否公开 0:否 1:是 */
    private String isPublic;

    /** 点击/阅读数 */
    private Long viewnum;

    /** 回复数 */
    private Long replynum;

    /** 收藏数 */
    private Long favornum;

    /** 分享数 */
    private Long sharenum;

    /** 点赞数 */
    private Long thumbsupnum;

    /** 游记状态 0:草稿 1:待发布(待审核) 2:审核通过 3:拒绝 */
    private String status;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
}
